import {lazy} from 'react'

const routerList = {
    mode:'history',
    routes:[
        {
            path:'/',
            to:'/home'
        },
        {
            path:'/home',
            element:lazy(()=>import('../pages/home/home'))
        },
        {
            path:'*',
            element:lazy(()=>import('../pages/error/error'))
        },
    ]
}

export default routerList